﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity
{
    /// <summary>
    /// 领取方式
    /// </summary>
    public enum CouponReceiveType
    {
        /// <summary>
        /// 店铺首页
        /// </summary>
        [Description("店铺首页")]
        ShopIndex = 0,
        /// <summary>
        /// 积分兑换
        /// </summary>
        [Description("积分兑换")]
        IntegralExchange = 1,
        /// <summary>
        /// 主动发放
        /// </summary>
        [Description("主动发放")]
        DirectHair = 2
    }
    /// <summary>
    /// 领取状态
    /// </summary>
    public enum CouponReceiveStatus
    {
        Success = 1,
        /// <summary>
        /// 已过期
        /// </summary>
        HasExpired = 2,
        /// <summary>
        /// 已超额
        /// <para>达个人领取上限</para>
        /// </summary>
        HasLimitOver = 3,
        /// <summary>
        /// 已领完
        /// <para>优惠券已领完</para>
        /// </summary>
        HasReceiveOver = 4,
        /// <summary>
        /// 积分不足
        /// </summary>
        IntegralLess = 5
    }

    public enum CouponType
    {
        /// <summary>
        /// 优惠卷
        /// </summary>
        Coupon = 0,

        /// <summary>
        /// 商家红包
        /// </summary>
        ShopBonus = 1
    }
    public enum CounponStatuses
    {
        [Description("未使用")]
        Unuse,
        [Description("已使用")]
        Used
    }
}
